Skip to content

[FIX] ignore exceptions when moving attachment - #129

Merged
pedrobaeza merged 3 commits into
OCA:8.0from
hbrunn:8.0-attachments_to_filesystem-guard_exception
Apr 3, 2017
Merged

pedrobaeza merged 3 commits into
OCA:8.0from
hbrunn:8.0-attachments_to_filesystem-guard_exception

Conversation

@hbrunn

@hbrunn hbrunn commented Apr 2, 2017

Copy link
Copy Markdown
Member

No description provided.

@pedrobaeza pedrobaeza left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The Travis is error is unrelated to this module, but it would be good to be repaired in any moment (it's document_sftp module).

For this one, a little suggestion.

},
context=context)
except Exception as e:
logging.exception(e)

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Better to use parameter exc_info for dumping full stack.

@hbrunn
hbrunn force-pushed the 8.0-attachments_to_filesystem-guard_exception branch from 38e496b to 1f486da Compare April 2, 2017 14:13
@hbrunn

hbrunn commented Apr 2, 2017

Copy link
Copy Markdown
Member Author

@pedrobaeza thanks, travis is fixed in #130

@hbrunn
hbrunn force-pushed the 8.0-attachments_to_filesystem-guard_exception branch from 933b3bf to 4d24e98 Compare April 2, 2017 16:08
@pedrobaeza

Copy link
Copy Markdown
Member

Please rebase

@hbrunn

hbrunn commented Apr 3, 2017

Copy link
Copy Markdown
Member Author

thanks. The same as making #128 green

@pedrobaeza
pedrobaeza merged commit db6bc56 into OCA:8.0 Apr 3, 2017
@pedrobaeza

Copy link
Copy Markdown
Member

Fast-tracked as these are linter PRs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants